package com.sourceQ.system.vo.tenant;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: SourceQ
 * @create: 2024-04-02 14:43
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TenantVo implements Serializable {
    private Long id;

    /**
     * 租户名
     */
    private String name;
    /**
     * 联系人
     */
    private String contactName;
    /**
     * 联系手机
     */
    private String contactMobile;
    /**
     * 租户状态（0正常 1停用）
     */
    private String status;
    /**
     * 绑定域名
     */
    private String website;
    /**
     * 过期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime expireTime;
    /**
     * 注册码
     */
    private String registerCode;

    /**
     * 租户套餐编号
     */
    private Long packageId;
    /**
     * 套餐名称
     */
    private String packageName;
    /**
     * 套餐
     */
    private TenantPackageRespVO tenantPackage;
}
